//
//  WMProtocolAlert.h
//  WonderMobSDK_Example
//
//  Created by zero on 2020/3/6.
//  Copyright © 2020 wenhaoChan. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

typedef void(^WMProtocolAlertConfirmBlock)(void);

@interface WMProtocolAlert : UIView

@property (nonatomic, copy) WMProtocolAlertConfirmBlock confirmBlock;

/// 判断是否“确认”隐私弹窗
+ (BOOL)isComfirmButtonClick;

/// 隐私弹窗 只在第一次安装弹出
/// /// @param frame frame 
/// @param confirmBlock 确认回调，若点过确定则直接回调
- (instancetype)initWithFrame:(CGRect)frame
            completionHandler:(nullable void (^)(void))confirmBlock;

//+ (void)showProtocolAlert:(nullable void (^)(void))confirmBlock;

@end

NS_ASSUME_NONNULL_END
